/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Classes;

import java.math.BigInteger;

/**
 *
 * @author Kévin
 */
public class Imprimante extends Materiel {
    
    private String refCC;
    private String refCN;
    private String portUsb;
    private String portParallele;
    private String portRes;
    private String typeImpression;
    private String formatA3;
    private String formatA4;

    /**
     * Constructeur de la classe retroprojecteur (permet d'instencier un obj sans paramettre ...)
     */
    
    public Imprimante() {
    }

    
    public Imprimante(long numCodeBarre, int numCompta, String numSerie, String nom, String descriptif, String dateHT, Double prixHT, int garantie, String numBC, String budget, double amortissement, int idT, int idM, int idS, int idSc) {
        super(numCodeBarre, numCompta, numSerie, nom, descriptif, dateHT, prixHT, garantie, numBC, budget, amortissement, idT, idM, idS, idSc);
        //this.numCodeBarre = null;
        this.refCC = null;
        this.refCN = null;
        this.portUsb = null;
        this.portParallele = null;
        this.portRes = null;
        this.typeImpression = null;
        this.formatA3 = null;
        this.formatA4 = null;
    }

    /**
     * Constructeur de la classe imprimante
     * @param numCodeBarre
     * @param refCC
     * @param refCN
     * @param portUsb
     * @param portParallele
     * @param portRes
     * @param typeImpression
     * @param formatA3
     * @param formatA4 
     */
    public Imprimante(long numCodeBarre, String refCC, String refCN, String portUsb, String portParallele, String portRes, String typeImpression, String formatA3, String formatA4, Integer numCompta, String numSerie, String nom, String descriptif, String dateHT, Double prixHT, Integer garantie, String numBC, String budget, double amortissement, Integer idT, Integer idF, Integer idM, Integer idS, Integer idSc) {
        super(numCodeBarre, numCompta, numSerie, nom, descriptif, dateHT, prixHT, garantie, numBC, budget, amortissement, idT, idM, idS, idSc);
        this.refCC = refCC;
        this.refCN = refCN;
        this.portUsb = portUsb;
        this.portParallele = portParallele;
        this.portRes = portRes;
        this.typeImpression = typeImpression;
        this.formatA3 = formatA3;
        this.formatA4 = formatA4;
    }

    public Imprimante(long numCodeBarre, String refCC, String refCN, String portUsb, String portParallele, String portRes, String typeImpression, String formatA3, String formatA4) {
        this.refCC = refCC;
        this.refCN = refCN;
        this.portUsb = portUsb;
        this.portParallele = portParallele;
        this.portRes = portRes;
        this.typeImpression = typeImpression;
        this.formatA3 = formatA3;
        this.formatA4 = formatA4;
    }
    
    

    /**
     * Permet d'obtenir la référence CC d'une imprimante
     * @return 
     */
    public String getRefCC() {
        return refCC;
    }

    /**
     * Permet de modifier la reference CC d'une imprimante
     * @param refCC 
     */
    public void setRefCC(String refCC) {
        this.refCC = refCC;
    }

    /**
     * Permet d'obtenir la reference CN d'une imprimante
     * @return 
     */
    public String getRefCN() {
        return refCN;
    }

    /**
     * Permet de modifier la reference CN d'une imprimante
     * @param refCN 
     */
    public void setRefCN(String refCN) {
        this.refCN = refCN;
    }

    /**
     * Permet de savoir si l'imprimante comporte des ports USB
     * @return 
     */
    public String getPortUsb() {
        return portUsb;
    }

    /**
     * Permet de modifier si l'imprimante comporte des ports USB
     * @param portUsb 
     */
    public void setPortUsb(String portUsb) {
        this.portUsb = portUsb;
    }

    /**
     * Permet de savoir si l'imprimante comporte des ports paralleles
     * @return 
     */
    public String getPortParallele() {
        return portParallele;
    }

    /**
     * Permet de modifier si l'imprimante comporte des ports paralleles
     * @param portParallele 
     */
    public void setPortParallele(String portParallele) {
        this.portParallele = portParallele;
    }
    
    /**
     * Permet de savoir si l'imprimante comporte des ports réseaux
     * @return 
     */
    public String getPortRes() {
        return portRes;
    }

    /**
     * Permet de modifier si l'imprimante comporte des ports réseaux
     * @param portRes 
     */
    public void setPortRes(String portRes) {
        this.portRes = portRes;
    }

    /**
     * Permet d'obtenir le type d'impression de l'imprimante
     * @return 
     */
    public String getTypeImpression() {
        return typeImpression;
    }

    /**
     * Permet de modifier le type d'impression de l'imprimante
     * @param typeImpression 
     */
    public void setTypeImpression(String typeImpression) {
        this.typeImpression = typeImpression;
    }

    /**
     * Permet de savoir si l'imprimante accepte les feuilles au format A3
     * @return 
     */
    public String getFormatA3() {
        return formatA3;
    }

    /**
     * Permet de modifier si une imprimante accepte les feuilles au format A3
     * @param formatA3 
     */
    public void setFormatA3(String formatA3) {
        this.formatA3 = formatA3;
    }

    /**
     * Permet de savoir si l'imprimante accepte les feuilles au format A4
     * @return 
     */
    public String getFormatA4() {
        return formatA4;
    }

    /**
     * Permet de modifier si une imprimante accepte les feuilles au format A4
     * @param formatA4 
     */
    public void setFormatA4(String formatA4) {
        this.formatA4 = formatA4;
    }

    @Override
    public int getNumCompta() {
        return super.getNumCompta(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setNumCompta(int numCompta) {
        super.setNumCompta(numCompta); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String getNumSerie() {
        return super.getNumSerie(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setNumSerie(String numSerie) {
        super.setNumSerie(numSerie); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String getNom() {
        return super.getNom(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setNom(String nom) {
        super.setNom(nom); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String getDescriptif() {
        return super.getDescriptif(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setDescriptif(String descriptif) {
        super.setDescriptif(descriptif); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String getDateHT() {
        return super.getDateHT(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setDateHT(String dateHT) {
        super.setDateHT(dateHT); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public Double getPrixHT() {
        return super.getPrixHT(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setPrixHT(Double prixHT) {
        super.setPrixHT(prixHT); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getGarantie() {
        return super.getGarantie(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setGarantie(int garantie) {
        super.setGarantie(garantie); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String getNumBC() {
        return super.getNumBC(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setNumBC(String numBC) {
        super.setNumBC(numBC); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String getBudget() {
        return super.getBudget(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setBudget(String budget) {
        super.setBudget(budget); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public double getAmortissement() {
        return super.getAmortissement(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setAmortissement(double amortissement) {
        super.setAmortissement(amortissement); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getIdT() {
        return super.getIdT(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setIdT(int idT) {
        super.setIdT(idT); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getIdF() {
        return super.getIdF(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setIdF(int idF) {
        super.setIdF(idF); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getIdM() {
        return super.getIdM(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setIdM(int idM) {
        super.setIdM(idM); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getIdS() {
        return super.getIdS(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setIdS(int idS) {
        super.setIdS(idS); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getIdSc() {
        return super.getIdSc(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setIdSc(int idSc) {
        super.setIdSc(idSc); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public long getNumCB() {
        return super.getNumCB(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setNumCB(long numCB) {
        super.setNumCB(numCB); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void createCodeBarre() {
        super.createCodeBarre(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String caculateCheckDigit(String data) {
        return super.caculateCheckDigit(data); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int getId() {
        return super.getId(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void setId(int id) {
        super.setId(id); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public String toString() {
        return super.toString(); //To change body of generated methods, choose Tools | Templates.
    }

}
